﻿@model ThaireInvestmentWeb.WcfSerivce.LoanHeaderDTO
@{
    Layout = null;
}
<table class="tableform" width="100%" border="5" align="center" cellspacing="2">
    <tr>
        <td width="300" height="31">&nbsp;</td>
        <td align="right">
            <div style="text-align: right">Create by : @Model.Header.CreateBY </div>
        </td>
        <td width="5">&nbsp;</td>
        <td width="139" align="right">
            <div style="text-align: right">Create Time :@Model.Header.CreateDate</div>
        </td>
    </tr>
    <tr>
        <td width="300" height="31">&nbsp;</td>
        <td align="right">
            <div style="text-align: right">Update by : @Model.Header.ModifyBY</div>
        </td>
        <td width="5">&nbsp;</td>
        <td width="139" align="right">
            <div style="text-align: right">Update Time :@Model.Header.ModifyDate</div>
        </td>
    </tr>
</table>




<table class="tableform" width="100%" border="5" align="center" cellspacing="2">
    <tr>
        <td width="212">
            <div align="right">ชื่อบริษัท: </div>
        </td>
        <td style="width: 4px">&nbsp;</td>
        <td style="width: 236px">

            @Html.TextBoxFor(model => model.Header.CompanyName, new { @readonly = "readonly", style = "width: 250px;" })
        </td>
        <td width="160" align="right">
            <div align="right">Maturity Status:</div>
        </td>
        <td style="width: 4px">&nbsp;</td>
        <td width="208">
            @Html.TextBoxFor(model => model.Header.MaturityStatus, new { @readonly = "readonly", style = "width: 120px;" })
        </td>
    </tr>
    <tr>
        <td>
            <div align="right">เลขที่สัญญาเงินกู้: </div>
        </td>
        <td style="width: 4px">&nbsp;</td>
        <td style="width: 236px">
            @Html.TextBoxFor(model => model.Header.ContractNumber, new { @readonly = "readonly", style = "width: 120px;" })
        </td>
        <td>
            <div align="right">ชื่อผู้กู้: </div>
        </td>
        <td>&nbsp;</td>
        <td>@Html.TextBoxFor(model => model.Header.BorrowerName, new { @readonly = "readonly", style = "width: 200px;" }) </td>
    </tr>
    <tr>
        <td>
            <div align="right">อายุสัญญา(เริ่ม): </div>
        </td>
        <td style="width: 4px">&nbsp;</td>
        <td style="width: 236px">@Html.TextBoxFor(model => model.Header.ContractStartDate, new { @readonly = "readonly", style = "width: 120px;", @Value = ThaireInvestmentWeb.Util.WebUtil.FormatDate(@Model.Header.ContractStartDate) }) </td>
        <td>
            <div align="right">อายุสัญญา(สิ้นสุด): </div>
        </td>
        <td>&nbsp;</td>
        <td>@Html.TextBoxFor(model => model.Header.ContractEndDate, new { @readonly = "readonly", style = "width: 120px;", @Value = ThaireInvestmentWeb.Util.WebUtil.FormatDate(@Model.Header.ContractEndDate) }) </td>
    </tr>
    <tr>
        <td>
            <div align="right">จำนวนเงินตามสัญญา: </div>
        </td>
        <td style="width: 4px">&nbsp;</td>
        <td style="width: 236px">
            @Html.TextBoxFor(model => model.Header.ContractAmount, new { @readonly = "readonly", @class = "inputNumberField", style = "width: 120px;", @Value = ThaireInvestmentWeb.Util.WebUtil.FormatCurrency2(@Model.Header.ContractAmount) })  BAHT
        </td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
    </tr>
    <tr>
        <td>
            <div align="right">Period: </div>
        </td>
        <td style="width: 4px">&nbsp;</td>
        <td style="width: 236px">@Html.TextBoxFor(model => model.Period, new { @readonly = "readonly", style = "width: 120px;" })
            YEAR</td>
        <td>
        </td>
        <td>&nbsp;</td>
        <td></td> </tr>
    <tr>
        <td style="height: 4px"></td>
        <td style="height: 4px"></td>
        <td style="width: 236px; height: 4px;"></td>
        <td style="height: 4px"></td>
        <td style="height: 4px"></td>
        <td style="height: 4px"></td>
    </tr>
</table>

